package org.innovasix.educational.javap.domain.datatypes;

public class u1 {

	private int value;

	public u1(int value){
		this.value = value;
	}
	public static int getUnsigned(byte value) {
		return  value & 0x000000FF;
	}

	public int getValue() {
		return value;
	}
		
	public String toString(){
		return "0x" + LeadingZerosPadder.pad(2, value);
	}
}
